
// 自动生成模板VideoWork
package example
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// videoWork表 结构体  VideoWork
type VideoWork struct {
    global.GVA_MODEL
  VideoTitle  *string `json:"videoTitle" form:"videoTitle" gorm:"comment:视频标题;column:video_title;size:50;" binding:"required"`  //视频标题
  VideoInfo  *string `json:"videoInfo" form:"videoInfo" gorm:"comment:视频详情;column:video_info;size:255;"`  //视频详情
  VideoIp  *string `json:"videoIp" form:"videoIp" gorm:"comment:视频IP;column:video_ip;size:255;"`  //视频IP
  VideoUrl  *string `json:"videoUrl" form:"videoUrl" gorm:"comment:视频地址;column:video_url;size:255;" binding:"required"`  //视频地址
  AuditStatus  *string `json:"auditStatus" form:"auditStatus" gorm:"default:已发布;comment:视频审核状态;column:audit_status;size:5;"`  //视频审核状态
  Reviewer  *int `json:"reviewer" form:"reviewer" gorm:"comment:审核人;column:reviewer;"`  //审核人
    CreatedBy  uint   `gorm:"column:created_by;comment:创建者"`
    UpdatedBy  uint   `gorm:"column:updated_by;comment:更新者"`
    DeletedBy  uint   `gorm:"column:deleted_by;comment:删除者"`
}


// TableName videoWork表 VideoWork自定义表名 video_work
func (VideoWork) TableName() string {
    return "video_work"
}





